-- GENERATED SPELL FOR [Ulf the Bloodletter] --


function spell0_24016(pUnit, Event) --@Mace Smash,n/a--
pUnit:FullCastSpellOnTarget(48288,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24016', 2325, 1)
end

function Sorts_24016(pUnit, Event)
local choix_sorts_24016 = math.random(0, 0)
if choix_sorts_24016 == 0 then
pUnit:RegisterEvent('spell0_24016', 1, 1)
end
end

function mob24016_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24016', math.random(1500, 3000), 1)
end

function mob24016_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24016_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24016_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24016, 1, 'mob24016_Action')
RegisterUnitEvent(24016, 2, 'mob24016_Leave')
RegisterUnitEvent(24016, 3, 'mob24016_Kill')
RegisterUnitEvent(24016, 4, 'mob24016_Die')
